/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;
import org.lucava.boatskeeper.shared.dto.RoleDto;

/**
 *
 * @author glenn
 */
@RemoteServiceRelativePath("role")
public interface RoleService extends RemoteService {

    public List<RoleDto> getRoles();

    public RoleDto getRole(Integer id);

    public Boolean saveRole(RoleDto role);

    public Boolean removeRole(RoleDto role);
    
    public Boolean removeRoles(List<Integer> roleIds);
}
